package com.yswy.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户第三方账号")
@TableName(value = "app_user_third_party_account")
public class UserThirdPartyAccount{
    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("用户 ID")
    private Long userId;
    @ApiModelProperty("账号类型 0 支付宝   1 微信")
    private Integer accountType;
    @ApiModelProperty("名字")
    private String accountName;
    @ApiModelProperty("账号")
    private String accountNum;
    @ApiModelProperty("创建时间")
    private Date createTime = new Date();
    @ApiModelProperty("修改时间")
    private Date updateTime = new Date();
}
